package apps.reading.db;
import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.repository.PagingAndSortingRepository;

public interface FavoriteDAO extends PagingAndSortingRepository<FavoriteBean, String>{
	
	Page<FavoriteBean> findByUserid(String userid,Pageable pageable);

	List<FavoriteBean> findByUseridAndSourceid(String userid,String sourceid);
}
